Skip to content

Drop python2 support after kafka-python 2.3.x#2699

Merged
dpkp merged 18 commits into
masterfrom
dpkp/python-3
Dec 6, 2025
Merged

Drop python2 support after kafka-python 2.3.x#2699
dpkp merged 18 commits into
masterfrom
dpkp/python-3

Conversation

@dpkp

@dpkp dpkp commented Nov 21, 2025

Copy link
Copy Markdown
Owner

Current plan is to release kafka-python 3.0 as python3 only. Releases 2.3.x will be the final set with python2 support.

Removes six and converts all calls to python3 equivalents. Also remove vendored compatibility modules: selectors34, enum34, and socketpair. And drop all __future__ imports.

@dpkp dpkp merged commit c650a77 into master Dec 6, 2025
19 checks passed
@dpkp dpkp deleted the dpkp/python-3 branch December 6, 2025 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant